import request from "@/utils/request";

// 查询回款列表
export function paymentListApi(data) {
  return request({
    url: "/system/management/list",
    method: "get",
    params: data,
  });
}

// 添加回款信息
export function paymentAddApi(data) {
  return request({
    url: "/system/management/add",
    method: "post",
    data,
  });
}

// 回款详情查询
export function paymentDetailApi(id) {
  return request({
    url: "/system/management/listById/" + id,
    method: "get",
  });
}

// 回款进度
export function updatePaymentApi(data) {
  return request({
    url: "/system/management/update",
    method: "put",
    data
  })
}

// 已结清
export function IdStatusApi(data) {
  return request({
    url: "/system/management/updateIds",
    method: "get",
    params: data
  })
}
